package com.hzy.ums.request;

import com.hzy.ums.domain.bo.MemberBo;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Copyright (C), 2018-2023
 * FileName: RegisterRequest
 * Description: 注册请求参数
 * Author:   zengxin(zengxin@kbostar.com)
 * Date:     2023/10/20 12:29
 */
@Data
public class RegisterRequest {

    @NotNull(message = "注册信息不能为空", groups = { AddGroup.class })
    private MemberBo member;

    /**
     * 验证码
     */
    @NotBlank(message = "请输入验证码", groups = { AddGroup.class })
    private String code;

    @NotBlank(message = "请输入uuid", groups = { AddGroup.class })
    private String uuid;

    private String xcxCode;

    private String xcxType;

    @NotBlank(message = "{auth.grant.type.not.blank}")
    private String grantType;
}
